<template>
  <div class="closeLogin">
    <img :src="blackImg" alt @click.stop="RouteBlack" />
  </div>
</template>

<script>
import blackImg from '@/assets/images/back-b.png'
export default {
  name: 'Headerback',
  props: ['parameter'],
  data: () => {
    return {
      blackImg: blackImg
    }
  },

  methods: {
    RouteBlack() {
      this.$router.back()
    }
  },
  created() {
  }
}
</script>

<style type="text/scss" lang="scss" scoped>
.closeLogin {
  height: rem(88);
  width: 100%;
  line-height: rem(88);
  font-size: rem(34);
  font-weight: bold;
  background: #fff;
  background-size: 100% rem(88);
  color: #333;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  img {
    width: rem(22);
    height: rem(38);
    margin-left: rem(30);
  }
}
.spik {
  width: rem(124);
  height: rem(64);
  text-align: center;
  line-height: rem(64);
  background: rgba(245, 245, 245, 1);
  border-radius: 30px;
  font-size: rem(28);
  color: rgba(102, 102, 102, 1);
}
</style>
